<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of m_distributor
 *
 * @author fendi
 */
class m_distributor extends Model {
    var $table='distributor';

    function m_distributor(){
        parent::Model();
    }
    function getAllDistributor(){
        $query=$this->db->get($this->table);
        return $query->result();
    }
}
?>
